package com.mzkj.wanjulaile.mobile.api.modules.activeConfig.mapper;


import com.mzkj.wanjulaile.mobile.api.modules.activeConfig.entity.ActiveShareCoupon;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 分享获得优惠券DAO接口
 * @author ianly
 * @version 2017-02-13
 */
@Repository
public interface ActiveShareCouponMapper {

    /**
     * 根据分享活动id 类型 删除优惠券
     * @param activeSharerCoupon
     */
    void deleteByShareConfigIdAndType(ActiveShareCoupon activeSharerCoupon);

    ActiveShareCoupon get(String id);

    List<ActiveShareCoupon> findList(ActiveShareCoupon activeShareCoupon);
}